import request from '@/utils/request'

// 查询小红书订单售后列表
export function listBiXhsOrderAftersales(query) {
  return request({
    url: '/live/BiXhsOrderAftersales/list',
    method: 'get',
    params: query
  })
}

// 查询小红书订单售后详细
export function getBiXhsOrderAftersales(id) {
  return request({
    url: '/live/BiXhsOrderAftersales/' + id,
    method: 'get'
  })
}

// 新增小红书订单售后
export function addBiXhsOrderAftersales(data) {
  return request({
    url: '/live/BiXhsOrderAftersales',
    method: 'post',
    data: data
  })
}

// 修改小红书订单售后
export function updateBiXhsOrderAftersales(data) {
  return request({
    url: '/live/BiXhsOrderAftersales',
    method: 'put',
    data: data
  })
}

// 删除小红书订单售后
export function delBiXhsOrderAftersales(id) {
  return request({
    url: '/live/BiXhsOrderAftersales/' + id,
    method: 'delete'
  })
}
